package com.springboot.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 18103
 * @Date 2018/12/19
 * @Description
 */
@SpringBootApplication
public class ApplicationStart{

    //项目启动
    public static void main(String[] args) {
        List<Class> startClass=new ArrayList<>();
        startClass.add(ApplicationStart.class);
        startClass.add(ApplicationTestStart.class);
        Class startClassArray[]=new Class[startClass.size()];
        startClass.toArray(startClassArray);
        SpringApplication.run(startClassArray, args);
    }
}
